﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebStudio.Business.Rule;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            rptIsBottomBind();
        }
    }

    private void rptIsBottomBind()
    {
        rptBottom.DataSource = ArticalRule.GetArticalList("where InnerCode='1' and IsBottom=1");
        rptBottom.DataBind();
    }
}
